derivatives of polar equations